package com.yilin.platform.entity.user.deserialize;
import com.baomidou.mybatisplus.annotation.EnumValue;

//用户类型
public enum UserType {
    adminUser(0, "系统管理用户"),
    yilinUser(1, "社区平台用户"),
    zoneUser(2, "孵化平台用户"),
    platformUser(3, "网货平台用户"),
    shipperUser(4, "货主用户"),
    truckerUser(5, "车主用户");
    @EnumValue
    public Integer index;
    public String name;

    UserType(Integer index, String name) {
        this.index = index;
        this.name = name;
    }
}